home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 20 / Cream of the Crop 20 (Terry Blount) (1996).iso / math / alged34.zip / MOREFUN.AE < prev    next >
Text File  |  1996-06-06  |  1KB  |  40 lines

  1. "
  2. "       ╔════════════════════════════════════════════╗
  3. "       ║    More functions that are fun to view.    ║
  4. "       ╚════════════════════════════════════════════╝
  5. "
  6. "       This is an interesting radial mountain range.
  7. sin(2*r(x,y))*sin(5*atan2(y,x)) + rand(z*0.1)
  8. "
  9. "       This is the old mexican hat.
  10. sin(3*r(x,y))/r(x,y)
  11. "
  12. "       Use 3D polar mode (press 'a') to see a pacifier.
  13. sin(5*x) + 1.2
  14. "
  15. "       The sign function can make a nice round table
  16. sign(1 - r(x,y))
  17. "
  18. "       An equation graphs the min of two functions:  a volcano.
  19. 4/(r(x,y) + 0.5) = sign(r(x,y) - 0.5) + 2
  20. "
  21. "       View this in 3D and use '2' and 'w' to manipulate z.
  22. (-3*x + y*z)/(x^2 + y^2 + 1)
  23. "
  24. "       Cardioid (graph 2D polar, set u=0 and v=0)
  25. 1 - cos(t*(0.1*u+1))+0.1*v
  26. "
  27. "       Lemniscate (graph 2D polar, set u=0)
  28. cos(2*t*(0.1*u+1))^0.5
  29. "
  30. "       These are all the supported math functions:
  31. sin(x) + asin(x) + sinh(x)
  32. cos(x) + acos(x) + cosh(x)
  33. tan(x) + atan(x) + tanh(x)
  34. ln(x) + log(x)
  35. abs(x) + rand(x) + sign(x)
  36. min(x,y) + max(x,y) + r(x,y)
  37. mod(x,y) + atan2(y,x)
  38.  
  39.  
  40.